package com.base.service.impl;

import com.base.mapper.voipmapper.SubscribersExpandMapper;
import com.base.po.voip.SubscribersExpand;
import com.base.po.voip.SubscribersExpandExample;
import com.base.service.SubscribersExpandService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("subscribersExpandService")
public class SubscribersExpandServiceImpl implements SubscribersExpandService {
	
	@Autowired
	private SubscribersExpandMapper subscribersExpandMapper;


	@Override
	public int countByExample(SubscribersExpandExample example) {
		return subscribersExpandMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(SubscribersExpandExample example) {
		return subscribersExpandMapper.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(Integer id) {
		return subscribersExpandMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(SubscribersExpand record) {
		return subscribersExpandMapper.insert(record);
	}

	@Override
	public int insertSelective(SubscribersExpand record) {
		return subscribersExpandMapper.insertSelective(record);
	}

	@Override
	public List<SubscribersExpand> selectByExample(SubscribersExpandExample example) {
		return subscribersExpandMapper.selectByExample(example);
	}

	@Override
	public SubscribersExpand selectByPrimaryKey(Integer id) {
		return subscribersExpandMapper.selectByPrimaryKey(id);
	}

	@Override
	public SubscribersExpand selectByUserId(String userId) {
		return subscribersExpandMapper.selectByUserId(userId);
	}

	@Override
	public SubscribersExpand selectByDevelopersOpenId(String openId) {
		return subscribersExpandMapper.selectByDevelopersOpenId(openId);
	}

	@Override
	public int updateByExampleSelective(SubscribersExpand record, SubscribersExpandExample example) {
		return subscribersExpandMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(SubscribersExpand record, SubscribersExpandExample example) {
		return subscribersExpandMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(SubscribersExpand record) {
		return subscribersExpandMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(SubscribersExpand record) {
		return subscribersExpandMapper.updateByPrimaryKey(record);
	}
}
